package com.lcf.app.shiro.common;

import lombok.Getter;
import org.apache.shiro.authc.AuthenticationException;

/**
 * @author ChenFei
 * @date 2021/11/2
 */
@Getter
public class MyException extends AuthenticationException {

    private Integer errorCode;

    private String errorMsg;

    public MyException(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

}
